package com.bawei.mall.search.service;

import com.bawei.common.core.domain.R;
import com.bawei.mall.search.domain.HotWord;
import com.bawei.mall.search.domain.request.SearchReq;

import java.util.List;

/**
 * @author DongZl
 * @description: 搜索业务层
 * @Date 2022-10-21 下午 02:52
 */
public interface SearchService {

//    /**
//     * 通过商品ID同步商品信息
//     * @param productId
//     */
//    //public void syncProductInfo(Long productId);

    //void search (SearchReq searchReq);

    List<String> suggestion(String keyWord);

    List<HotWord> hotWordList();

    void addhotWord(HotWord hotWord);
}
